
const path = require('path');
function resolve (dir) {
  return path.join(__dirname, dir)
}
module.exports = {
  publicPath:"./",
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
        args[0].title= '营养价值表'
        return args
      })
    config.resolve.alias
      .set('@', resolve('src'))
  },
}